﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elysium.Demo.Informes
{
    public class InventariosExistenciasViewModel
    {
        public ObservableCollection<TestClass> DatosGraph { get; private set; }

        public InventariosExistenciasViewModel()
        {
            DatosGraph = new ObservableCollection<TestClass>();
        }

        private object selectedItem = null;
        public object SelectedItem
        {
            get
            {
                return selectedItem;
            }
            set
            {
                // selected item has changed
                selectedItem = value;
            }
        }
    }

    // class which represent a data point in the chart
    public class TestClass
    {
        public string Grupo { get; set; }
        public double Valor { get; set; }
    }
}
